POV-Ray : Newsgroups : povray.general : Povray script to OpenGL? : Re: Povray script to OpenGL? Server Time
5 Nov 2024 13:24:44 EST (-0500)
  Re: Povray script to OpenGL?  
From: Warp
Date: 25 Mar 2003 07:01:35
Message: <3e80451f@news.povray.org>
Tom Melly <tom### [at] tomandlucouk> wrote:
> No, but understandable. As you say, a subset is possible, but translating a
> complex CSG which uses macros to construct it's geometry? Iso-surfaces? Yeech.

  Actually tesselating an isosurface is not difficult (eg. using the
triangle marching algorithm).
  Tesselating CSG is a bit more difficult, but not impossible.
  However, POV-Ray can also handle infinite non-flat surfaces (such as
infinite paraboloids and hyperboloids) which can't be tesselated (you
simply can't create an infinite amount of triangles).

-- 
plane{-x+y,-1pigment{bozo color_map{[0rgb x][1rgb x+y]}turbulence 1}}
sphere{0,2pigment{rgbt 1}interior{media{emission 1density{spherical
density_map{[0rgb 0][.5rgb<1,.5>][1rgb 1]}turbulence.9}}}scale
<1,1,3>hollow}text{ttf"timrom""Warp".1,0translate<-1,-.1,2>}//  - Warp -


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.